Add 'ostree reset' command to undo a bad commit
authorStef Walter <stefw@redhat.com>
Wed, 14 Aug 2013 10:42:13 +0000 (12:42 +0200)
committerStef Walter <stefw@redhat.com>
Fri, 16 Aug 2013 15:28:43 +0000 (17:28 +0200)
commitf9b2c45fc0c299b288c84ea84e78b5406807a4c9
tree81eed6fcbf02f5faba3eceaed5922ec5e9ec35ab
parent5a4b7d708f8bb7133e0e7d432965e6679d3a77f5
Add 'ostree reset' command to undo a bad commit

Accepts the following arguments: ref checksum

Checks that the checksum is a parent of the ref before rewriting
the ref.

https://bugzilla.gnome.org/show_bug.cgi?id=705979
Makefile-ostree.am
src/ostree/main.c
src/ostree/ot-builtin-reset.c [new file with mode: 0644]
src/ostree/ot-builtins.h
tests/test-basic.sh